;; start.asm

extern	main														;(*@\label{ch10.c.command.start.asm:externmain}@*)
extern	exit

bits 32

[section .text]

global _start

_start:
	push	eax
	push	ecx
	call	main													;(*@\label{ch10.c.command.start.asm:callmain}@*)
	;; need not clean up the stack here

	push	eax
	call	exit

	hlt	; should never arrive here

